/*
 * InDir2Block.h
 *
 *  Created on: Apr 20, 2011
 *      Author: Stefan
 */

#ifndef INDIR2BLOCK_H_
#define INDIR2BLOCK_H_

#include "InDirBlock.h"
#include "InDir1Block.h"

using namespace std;

class InDir2Block: public InDirBlock {
private:
	long layer[128];
public:
	InDir2Block(int, byte*);
	virtual ~InDir2Block();

	void addAddress(long, int);
	void removeAddress(int);
	long getAddress(int);

	void print();
	void free();
};

#endif /* INDIR2BLOCK_H_ */
